package xyz.xtt.exchange.vo;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: nft视图基础类
 * @Date: 2024/11/20/
 * @Author: gzm
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NftListVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /* goodsId */
    @Schema(description = "资产id")
    private String goodsId;
    /* nft名称 */
    private String assetName;
    /* nft描述 */
    private String description;
    /* nft价格 */
    private BigDecimal price;
    /* nft计价单位 */
    private Integer unit;
    /* nft数量 */
    private Integer amount;

    /** 资产售卖数量 */
    private Long marketNum;

    /* nft-展示图片 */
    private String logoUri;
    /* nft-展示类型 */
    private Integer firstType;
    /**
     * 二级分类
     */
    private Integer secondType;
    /* nft-创建时间 */
    private Long createTime;
    /* 资产热度（点赞数） */
    private Long popularityRate;
    private Long authorId;
    private String authorName;
    private String authorUrl;

    /* 出售方式 0不出售 1:出售 2寄售 3:赠送 4:拍卖 */
    private Integer sellPattern;
    private Long assetId;

    private Long hot;
    private Boolean isLike;

    /* 资产拥有方， 0 用户 1平台 */
    private Integer ownerType;

    private Long publicityPeriodStart;

    private Long publicityPeriodEnd;

    private Long preSellStartDatetime;

    private Long PreSellEndDatetime;

    /* 列表显示内容 1 公示， 2预告， 0 无 */
    private Integer showStatus;


}
